package hhm.activeMQ.idontknow.mq;

import org.apache.activemq.artemis.jms.server.embedded.EmbeddedJMS;

public class MqServer implements Runnable {
	public EmbeddedJMS getJmsServer() {
		return jmsServer;
	}

	public void setJmsServer(EmbeddedJMS jmsServer) {
		this.jmsServer = jmsServer;
	}

	private EmbeddedJMS jmsServer;

	@Override
	public void run() {
		try {
			jmsServer.start();
		
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
